package com.example.fireassistant_server.mapper;


import com.example.fireassistant_server.dto.poi.PoiAddRequest;
import com.example.fireassistant_server.dto.poi.PoiDto;
import com.example.fireassistant_server.entity.PoiEntity;
import com.example.fireassistant_server.vo.PoiVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PoiMapper {
    PoiDto toDto(PoiEntity poiEntity);

    PoiVo toVo(PoiDto poiDto);

    PoiEntity createEntity(PoiAddRequest poiAddRequest);
}
